SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweRelUsuarioPermiso
AS
SELECT     idUsuario, idPermiso
FROM         dbo.tb_relUsuarioPermisos
GO
GRANT SELECT ON  [dbo].[vweRelUsuarioPermiso] TO [AdministracionSagenet]
GRANT INSERT ON  [dbo].[vweRelUsuarioPermiso] TO [AdministracionSagenet]
GRANT DELETE ON  [dbo].[vweRelUsuarioPermiso] TO [AdministracionSagenet]
GRANT UPDATE ON  [dbo].[vweRelUsuarioPermiso] TO [AdministracionSagenet]
GRANT SELECT ON  [dbo].[vweRelUsuarioPermiso] TO [SoloVer]
GO
